package day3;

/**
 * @author oldliu
 * @since 1.0
 */
public class IntTest {
    public static void main(String[] args) {
        int i=100;
        int j=0X100;//16
        int k=0b100;//二进制
        int h=0100;//8进制

        int a=j;
        System.out.println(a);
        System.out.println("i="+i);
        System.out.println("j="+j);
        System.out.println("k="+k);
        System.out.println("h="+h);
        System.out.println(Integer.toHexString(-10000));
        System.out.println(Integer.toOctalString(-10000));
    }
}
